package com.feri.cs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feri.cs.entity.CarUse;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 3.车辆使用申请表(TCarUse)表数据库访问层
 *
 * @author makejava
 * @since 2023-05-09 16:35:01
 */
public interface CarUseDao extends BaseMapper<CarUse> {

    @Update("update t_car_use set flag=#{flag},utime=now() where id=#{id}")
    int updateF(@Param("flag") int flag,@Param("id") int id);
}

